package ui.activity.group_management;

import android.app.Activity;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;

import com.trek2000.android.enterprise.R;

import ui.fragment.group_management.CreateGroupFragment;

/**
 * Created by Dong Le on 6/19/2015.
 */
public class CreateGroup extends FragmentActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_create_group);
        loadCreateGroupFragment();
    }

    private void loadCreateGroupFragment() {
        getSupportFragmentManager().beginTransaction().replace(
                R.id.fl_in_create_group_activity, CreateGroupFragment.newInstance()
        ).commitAllowingStateLoss();
    }
}
